<include file="Public/header" title="{$info.nickname}" />
    <div class="collapse navbar-collapse navbar-responsive-collapse">
        <ul class="nav navbar-nav navbar-right">
           <li class=""><a href="{:U('Index/index')}">首页</a></li>
            <li><a href="{:U('Index/index')}">发布应用</a></li>
            <li class="active"><a href="{:U('Index/listinfo')}">应用管理</a></li>
        </ul>
    </div> <!--/navbar-collapse--></div>
</div>
</header>
<!--=== Breadcrumbs ===-->
<div class="row-fluid breadcrumbs margin-bottom-20">
	<div class="container">
        <h1 class="pull-left">{$info.nickname}</h1>
        <ul class="pull-right breadcrumb">
            <!-- <li>简单设置下面的信息，您的应用发布即可完成</li> -->
        </ul>
    </div><!--/container-->
</div><!--/breadcrumbs-->
<!--=== End Breadcrumbs ===-->

<!-- Modal -->
<div class="modal fade" id="adhocUDIDBox" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">UDIDs</h4>
      </div>
      <div class="modal-body">
              </div>
    </div>
  </div>
</div>
<!--=== Content Part ===-->
<div class="container content">
    <div class="row">

		<div class="col-md-12 ">
			<div class="row">
				<div class="col-md-6 col-sm-6 col-xm-12">
					<a class="btn-u" href="{:U('Index/myhebing',array('id'=>$info['id']))}"><i class="fa fa-cloud-upload"></i> 合并应用</a> &nbsp;&nbsp; </div>
				<div class="col-md-4 col-md-offset-2 col-sm-6 col-xm-12">
					</div>
				</div>
				<div class="margin-bottom-20"></div>
			</div> 
		</div>

        <div class="col-md-12">
		<form class="reg-page sky-form" enctype="multipart/form-data" id="form" method="POST" action="{:U('index/updateinfo')}">
                <div class="douchebag_safari" style="left: -9999px; position: fixed; width: 1px;">
    
                </div>
                <div class="reg-header">
                    <p>
                    <if condition="$info.zxlogo neq '' ">
                                 <img src="__IMG__{$info.zxlogo}" class="img-rounded" width="125" height="125" />
                            <else /> 
                                 <img src="../Public/icon/dafuapk.png" class="img-rounded" width="125" height="125" />
                            </if>
                            
                    
                    </p>
                    <input type="file" name="fileToUpload" id="fileToUpload" onchange="fileSelected();" style="display:none;">   
                </div>

<script type="text/javascript" src="__STATIC__/js/highcharts.js"></script>
<script type="text/javascript">
$(function () {
	
	$('#container').highcharts({
		title: {
			text: '最近一周应用数据',
			x: 20 ,
			tyle:{display:"none"}
		},
		subtitle: {
			text: 'Source: www.91metal.com',
			x: 20,
			style:{display:"none"}
		},
		xAxis: {
			categories: [{$weekstr}]
		},
		yAxis: {
			title: {
				text: '数量',
				
			}
		},
		tooltip: {
			shared: true,
			valueSuffix: '',
		},
		credits:{
			text:"91metal.com",
			href:"http://www.91metal.com",
			position:{x:-250,y:-180},
			style:{"z-index":"999",display:"none"}
		},
		series: [{
			name: '安装量',
			data: [{$downstr}]
			},
			{
			name: '浏览量',
			data: [{$liulanstr}]
		}]
	});
	  
});

$(document).ready(function(){
	;
});
</script>

				<section>
					<div id="container" style="width:100%;height:300px;margin:0 auto"></div>
				</section>
				<hr>
				<section>
                    <label class="label">推广信息： </label>
                </section>
                <section>
                    <label class="label">下载地址：</label>
                    <label class="input">
                        <i class="icon-append fa fa-pencil"></i>
                        <input type="text" id="shorturl" name="shorturl" value="http://{$_SERVER['SERVER_NAME']}/a/{$info.shorturl}">
                    </label>
                </section>
                <!--
                <section>
                    <label class="label">输入短网址 *</label>
                    <label class="input">
                        <span class="icon-prepend" style="color:#666; width:230px; left:1px; background-color:#eee; font-weight:normal;">http://dada123.idc.q6cc.com/</span>
                        <input type="text" id="shortcuturl" name="shortcuturl" style="padding-left:240px;" value="{$info.shortcuturl}" placeholder="请输入页面地址后缀">
                    </label>
                </section>

                <section>
                    <label class="label">安全密码(可不填)</label>
                    <label class="input">
                        <i class="icon-append fa fa-pencil"></i>
                        <input type="password" id="aqpassword" name="aqpassword" value="{$info.aqpassword}" placeholder="请输入安全密码">
                    </label>
                </section>
                <section>
                    <label class="label">介绍</label>
                    <label class="textarea textarea-resizable">
                        <textarea rows="6" placeholder="请输入介绍" name="beifen">{$info.beifen}</textarea>
                    </label>
                </section>
                    -->
                <hr>
                <div id="ed_loading" class="editableform-loading" style="display:none;"></div>
                <div class="row" style="display:none;">
                    <div class="col-md-6 col-xs-6 text-left">
                      
                    </div>
                    <div class="col-md-6 col-xs-6 text-right">
                        <input type="hidden" name="id" value="{$info.id}" />
                        <button class="btn-u" type="submit" id="submitButton">保存信息</button>
                    </div>
                </div>
				</form>
        </div>
    </div>
</div><!--/container-->		

<include file="Public/footer" />